package com.wwl.pojos;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Long userid;
	private String loginname;
	private String loginpwd;
	private String username;
	private String address;
	private String phone;
	private String mail;
	private String gender;
	private String userrole;

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String loginname, String loginpwd, String userrole) {
		this.loginname = loginname;
		this.loginpwd = loginpwd;
		this.userrole = userrole;
	}

	/** full constructor */
	public Users(String loginname, String loginpwd, String username,
			String address, String phone, String mail, String gender,
			String userrole) {
		this.loginname = loginname;
		this.loginpwd = loginpwd;
		this.username = username;
		this.address = address;
		this.phone = phone;
		this.mail = mail;
		this.gender = gender;
		this.userrole = userrole;
	}

	// Property accessors

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getLoginname() {
		return this.loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getLoginpwd() {
		return this.loginpwd;
	}

	public void setLoginpwd(String loginpwd) {
		this.loginpwd = loginpwd;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMail() {
		return this.mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getUserrole() {
		return this.userrole;
	}

	public void setUserrole(String userrole) {
		this.userrole = userrole;
	}

}